#ifndef ALBUM_H
#define ALBUM_H

#include "title.h"

#include <string>
#include <list>

using namespace std;

class album {
public:
	album() {}
	album(const string &name):_name(name) {}
	~album();

	void set_name(const string &name) { _name = name; }
	const string& get_name() const { return _name; }

	void set_titles(const list<title*> &l) { _titles = l; }
	list<title*>& get_titles() { return _titles; }
	const list<title*>& get_titles() const { return _titles; }

	string to_xml() const;
private:
	string _name;
	list<title*> _titles;
};

#endif

